<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/29
  Time: 9:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        pageContext.setAttribute("A","aa",1);
        pageContext.setAttribute("A","bb",2);
        pageContext.setAttribute("A","cc",3);
        pageContext.setAttribute("A","dd",4);
        Object obj = pageContext.getAttribute("A",1);
        out.print(obj);
    %>
    ${A}<br/>
    ${pageScope.A}<br/>
    ${requestScope.A}<br/>
    ${sessionScope.A}<br/>
    ${applicationScope.A}<br/>
    <form action="a2.jsp" method="post">
        <input name="name">
        <input type="checkbox" name="love" value="zq" >足球
        <input type="checkbox" name="love" value="lq" >篮球
        <input type="checkbox" name="love" value="pq" >足球
        <button>提交</button>
    </form>
</body>
</html>
